package fangxing;

public class test1 {
	public test1() {
		Fx<Integer> f1 = new Fx<>(55);
		Fx<Double> f2 = new Fx<>(3.14);
		Fx<String> f3 = new Fx<>();
		f3.setX("小白");
		show(f1);
		show(f2);
		//show(f3); 
	}
	public void show(Fx<? extends Number> fx){
		System.out.println("===> "+fx.getX());
	}

	public static void main(String[] args) {
		new test1();
	}
}
